﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IsmsExplorer.Infrastructure.RepositoryFramework;

namespace IsmsExplorer.Model.Iso27001 {
    public interface IIso27001ControlRepository : IRepository<Iso27001ControlBase> {
        IList<Iso27001ControlSection> FindAllSections(bool recursive);
        IList<Iso27001ControlSubsection> FindAllSubsections(Iso27001ControlSection section, bool recursive);
        IList<Iso27001Control> FindAllControls(Iso27001ControlSubsection subsection);
        Iso27001Control FindControlByID(int controlID);
        Iso27001Control FindControlByReferenceID(string referenceID);
        IList<Iso27001Control> FindAllControlsForDocument(int projectID, object documentID);
    }
}
